import layout from "@/views/layout";
export default [
  {
    name: "activity",
    path: "/activity",
    redirect: "/activity/index",
    component: layout,
    children: [
      {
        name: "activity-index",
        path: "index",
        component: () => import("@/views/activity/index.vue"),
        meta: {
          title: "活动列表"
        }
      },
      {
        name: "activity-detail",
        path: "show/:id",
        component: () => import("@/views/activity/detail.vue"),
        meta: {
          title: "活动详情"
        }
      }
    ]
  }
];
